#ifndef C_QAPPLICATION_H
#define C_QAPPLICATION_H

/****************************************************************************
** QApplication C bindings generated from reading C++ file 'qapplication.h'
**
** Created: Tue Jul 30 19:22:28 2002
**      by: The Qt Meta Object Compiler ($Revision: 2.53 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

C_EXPORT QApplicationH QApplication_create(int* argc, char** argv);
C_EXPORT void QApplication_destroy(QApplicationH handle);




C_EXPORT int QApplication_argc(QApplicationH handle);
C_EXPORT char *  * QApplication_argv(QApplicationH handle);
C_EXPORT QStyleH QApplication_style();
C_EXPORT void QApplication_setStyle(QStyleH p1);


C_EXPORT int QApplication_colorSpec();
C_EXPORT void QApplication_setColorSpec(int p1);
C_EXPORT QCursorH QApplication_overrideCursor();
C_EXPORT void QApplication_setOverrideCursor(const QCursorH p1, bool replace);
C_EXPORT void QApplication_restoreOverrideCursor();
C_EXPORT bool QApplication_hasGlobalMouseTracking();
C_EXPORT void QApplication_setGlobalMouseTracking(bool enable);
C_EXPORT void QApplication_palette(QPaletteH retval, const QWidgetH p1);
C_EXPORT void QApplication_setPalette(const QPaletteH p1, bool informWidgets, const char* className);
C_EXPORT void QApplication_font(QFontH retval, const QWidgetH p1);
C_EXPORT void QApplication_setFont(const QFontH p1, bool informWidgets, const char* className);
C_EXPORT void QApplication_fontMetrics(QFontMetricsH retval);
C_EXPORT QWidgetH QApplication_mainWidget(QApplicationH handle);
C_EXPORT void QApplication_setMainWidget(QApplicationH handle, QWidgetH p1);
C_EXPORT void QApplication_polish(QApplicationH handle, QWidgetH p1);
C_EXPORT QWidgetListH QApplication_allWidgets();
C_EXPORT QWidgetListH QApplication_topLevelWidgets();
C_EXPORT QWidgetH QApplication_desktop();
C_EXPORT QWidgetH QApplication_activePopupWidget();
C_EXPORT QWidgetH QApplication_activeModalWidget();
C_EXPORT QClipboardH QApplication_clipboard();
C_EXPORT QWidgetH QApplication_focusWidget(QApplicationH handle);
C_EXPORT QWidgetH QApplication_activeWindow(QApplicationH handle);
C_EXPORT QWidgetH QApplication_widgetAt(int x, int y, bool child);
C_EXPORT QWidgetH QApplication_widgetAt2(const QPointH p1, bool child);
C_EXPORT int QApplication_exec(QApplicationH handle);
C_EXPORT void QApplication_processEvents(QApplicationH handle);
C_EXPORT void QApplication_processEvents2(QApplicationH handle, int maxtime);
C_EXPORT void QApplication_processOneEvent(QApplicationH handle);
C_EXPORT int QApplication_enter_loop(QApplicationH handle);
C_EXPORT void QApplication_exit_loop(QApplicationH handle);
C_EXPORT int QApplication_loopLevel(QApplicationH handle);
C_EXPORT void QApplication_exit(int retcode);
C_EXPORT bool QApplication_sendEvent(QObjectH receiver, QEventH event);
C_EXPORT void QApplication_postEvent(QObjectH receiver, QEventH event);
C_EXPORT void QApplication_sendPostedEvents(QObjectH receiver, int event_type);
C_EXPORT void QApplication_sendPostedEvents2();
C_EXPORT void QApplication_removePostedEvents(QObjectH receiver);
C_EXPORT bool QApplication_notify(QApplicationH handle, QObjectH p1, QEventH p2);
C_EXPORT bool QApplication_startingUp();
C_EXPORT bool QApplication_closingDown();
C_EXPORT void QApplication_flushX();
C_EXPORT void QApplication_syncX();
C_EXPORT void QApplication_beep();
C_EXPORT void QApplication_setDefaultCodec(QApplicationH handle, QTextCodecH p1);
C_EXPORT QTextCodecH QApplication_defaultCodec(QApplicationH handle);
C_EXPORT void QApplication_installTranslator(QApplicationH handle, QTranslatorH p1);
C_EXPORT void QApplication_removeTranslator(QApplicationH handle, QTranslatorH p1);
C_EXPORT void QApplication_translate(QApplicationH handle, PWideString retval, const char* p1, const char* p2);
C_EXPORT void QApplication_translate2(QApplicationH handle, PWideString retval, const char* p1, const char* p2, const char* p3);
C_EXPORT void QApplication_setWinStyleHighlightColor(const QColorH p1);
C_EXPORT const QColorH QApplication_winStyleHighlightColor();
C_EXPORT void QApplication_setDesktopSettingsAware(bool p1);
C_EXPORT bool QApplication_desktopSettingsAware();
C_EXPORT void QApplication_setCursorFlashTime(int p1);
C_EXPORT int QApplication_cursorFlashTime();
C_EXPORT void QApplication_setDoubleClickInterval(int p1);
C_EXPORT int QApplication_doubleClickInterval();
C_EXPORT void QApplication_setWheelScrollLines(int p1);
C_EXPORT int QApplication_wheelScrollLines();
C_EXPORT void QApplication_setGlobalStrut(const QSizeH p1);
C_EXPORT void QApplication_globalStrut(PSize retval);
C_EXPORT void QApplication_setStartDragTime(int ms);
C_EXPORT int QApplication_startDragTime();
C_EXPORT void QApplication_setStartDragDistance(int l);
C_EXPORT int QApplication_startDragDistance();
C_EXPORT bool QApplication_isEffectEnabled(UIEffect p1);
C_EXPORT void QApplication_setEffectEnabled(UIEffect p1, bool enable);




C_EXPORT bool QApplication_x11EventFilter(QApplicationH handle, XEvent* p1);
C_EXPORT int QApplication_x11ClientMessage(QApplicationH handle, QWidgetH p1, XEvent* p2, bool passive_only);
C_EXPORT int QApplication_x11ProcessEvent(QApplicationH handle, XEvent* p1);








C_EXPORT bool QApplication_isSessionRestored(QApplicationH handle);
C_EXPORT void QApplication_sessionId(QApplicationH handle, PWideString retval);
C_EXPORT void QApplication_commitData(QApplicationH handle, QSessionManagerH sm);
C_EXPORT void QApplication_saveState(QApplicationH handle, QSessionManagerH sm);
C_EXPORT void QApplication_create_xim();
C_EXPORT void QApplication_close_xim();
C_EXPORT void QApplication_wakeUpGuiThread(QApplicationH handle);



C_EXPORT void QApplication_quit(QApplicationH handle);
C_EXPORT void QApplication_closeAllWindows(QApplicationH handle);

#endif
